package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("sys_menu")
@ApiModel(value = "SysMenu对象", description = "权限表")
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("父id")
    private Integer parentId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("标识")
    private String title;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("请求方法")
    private String pathMethod;

    @ApiModelProperty("css样式")
    private String css;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("类型：1.菜单2.功能")
    private Integer type;

    @ApiModelProperty("是否隐藏：0.否(默认)1.是")
    private Integer isHidden;

    @ApiModelProperty("租户字段")
    private String tenantId;

    @ApiModelProperty("组件")
    private String component;

    @ApiModelProperty("是否缓存页面(0:否，1是)")
    private Integer isKeepAlive;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
